/*
 * @Description: 
 * @Author: sheng.xia
 * @Date: 2021-12-06 19:52:54
 */
import Layout from '@/Layouts/BasicLayout';
import Tasks from '@/pages/Tasks/Tasks';
import Calendar from '@/pages/Calendar/Calendar';
import Statistics from '@/pages/Statistics/Statistics';
import My from '@/pages/My/My';
import NotFound from '@/pages/NotFound/NotFound';

const routerConfig = [
  {
    path: '/',
    component: Layout,
    children: [{
      path: '/',
      exact: true,
      component: Tasks,
      title: '任务',
    }, {
      path: '/Calendar',
      component: Calendar,
      title: '日历',
    }, {
      path: '/Statistics',
      component: Statistics,
      title: '统计',
    }, {
      path: '/My',
      component: My,
      title: '我的',
    }, {
      component: NotFound,
    }
    ],
  },
];

export default routerConfig;
